package com.gx.wisestone.android.grpc.interceptor;

import io.grpc.Metadata;

public interface InterceptorConstants {
    String AUTHORIZATION = "authorization";
    String BEARER = "Bearer ";
    String SYS_TENANT_NO = "sys_tenant_no";
    String WS_VER = "ws-ver";
    String APP_VERSION = "app-version";

    Metadata.Key<String> AUTHORIZATION_KEY = Metadata.Key.of(AUTHORIZATION, Metadata.ASCII_STRING_MARSHALLER);
    Metadata.Key<String> META_KEY_SYS_TENANT_NO = Metadata.Key.of(SYS_TENANT_NO, Metadata.ASCII_STRING_MARSHALLER);
    Metadata.Key<String> META_KEY_WS_VER = Metadata.Key.of(WS_VER, Metadata.ASCII_STRING_MARSHALLER);
    Metadata.Key<String> META_KEY_APP_VERSION = Metadata.Key.of(APP_VERSION, Metadata.ASCII_STRING_MARSHALLER);
}
